package cn.android666.timbertree

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity

open class BaseActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        TimberUtil.logMethodName(this)
    }

    override fun onRestart() {
        super.onRestart()
        TimberUtil.logMethodName(this)
    }

    override fun onStart() {
        super.onStart()
        TimberUtil.logMethodName(this)
    }

    override fun onResume() {
        super.onResume()
        TimberUtil.logMethodName(this)
    }

    override fun onPause() {
        super.onPause()
        TimberUtil.logMethodName(this)
    }

    override fun onStop() {
        super.onStop()
        TimberUtil.logMethodName(this)
    }

    override fun onDestroy() {
        super.onDestroy()
        TimberUtil.logMethodName(this)
    }

}